3.1.99 \(\int \frac {x (a+b \csc ^{-1}(c x))}{d+e x^2} \, dx\) [99]

3.1.99.1 Optimal result
3.1.99.2 Mathematica [B] (verified)
3.1.99.3 Rubi [A] (verified)
3.1.99.4 Maple [C] (warning: unable to verify)
3.1.99.5 Fricas [F]
3.1.99.6 Sympy [F]
3.1.99.7 Maxima [F]
3.1.99.8 Giac [F(-2)]
3.1.99.9 Mupad [F(-1)]

3.1.99.1 Optimal result

Integrand size = 19, antiderivative size = 507 \[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\frac {\left (a+b \csc ^{-1}(c x)\right ) \log \left (1-\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \csc ^{-1}(c x)\right ) \log \left (1+\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \csc ^{-1}(c x)\right ) \log \left (1-\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \csc ^{-1}(c x)\right ) \log \left (1+\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {\left (a+b \csc ^{-1}(c x)\right ) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )}{e}-\frac {i b \operatorname {PolyLog}\left (2,-\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,-\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,\frac {i c \sqrt {-d} e^{i \csc ^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {i b \operatorname {PolyLog}\left (2,e^{2 i \csc ^{-1}(c x)}\right )}{2 e} \]

output
-(a+b*arccsc(c*x))*ln(1-(I/c/x+(1-1/c^2/x^2)^(1/2))^2)/e+1/2*(a+b*arccsc(c 
*x))*ln(1-I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)-(c^2*d+e)^(1 
/2)))/e+1/2*(a+b*arccsc(c*x))*ln(1+I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d)^(1 
/2)/(e^(1/2)-(c^2*d+e)^(1/2)))/e+1/2*(a+b*arccsc(c*x))*ln(1-I*c*(I/c/x+(1- 
1/c^2/x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*d+e)^(1/2)))/e+1/2*(a+b*arccsc( 
c*x))*ln(1+I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*d+e)^( 
1/2)))/e+1/2*I*b*polylog(2,(I/c/x+(1-1/c^2/x^2)^(1/2))^2)/e-1/2*I*b*polylo 
g(2,-I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)-(c^2*d+e)^(1/2))) 
/e-1/2*I*b*polylog(2,I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)-( 
c^2*d+e)^(1/2)))/e-1/2*I*b*polylog(2,-I*c*(I/c/x+(1-1/c^2/x^2)^(1/2))*(-d) 
^(1/2)/(e^(1/2)+(c^2*d+e)^(1/2)))/e-1/2*I*b*polylog(2,I*c*(I/c/x+(1-1/c^2/ 
x^2)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*d+e)^(1/2)))/e
 
3.1.99.2 Mathematica [B] (verified)

Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(1123\) vs. \(2(507)=1014\).

Time = 0.45 (sec) , antiderivative size = 1123, normalized size of antiderivative = 2.21 \[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\frac {i b \pi ^2-4 i b \pi \csc ^{-1}(c x)+8 i b \csc ^{-1}(c x)^2-16 i b \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \arctan \left (\frac {\left (-i c \sqrt {d}+\sqrt {e}\right ) \cot \left (\frac {1}{4} \left (\pi +2 \csc ^{-1}(c x)\right )\right )}{\sqrt {c^2 d+e}}\right )-16 i b \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \arctan \left (\frac {\left (i c \sqrt {d}+\sqrt {e}\right ) \cot \left (\frac {1}{4} \left (\pi +2 \csc ^{-1}(c x)\right )\right )}{\sqrt {c^2 d+e}}\right )-2 b \pi \log \left (1+\frac {\left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 b \csc ^{-1}(c x) \log \left (1+\frac {\left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-8 b \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {\left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-2 b \pi \log \left (1+\frac {\left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 b \csc ^{-1}(c x) \log \left (1+\frac {\left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-8 b \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {\left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-2 b \pi \log \left (1-\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 b \csc ^{-1}(c x) \log \left (1-\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+8 b \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-2 b \pi \log \left (1+\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 b \csc ^{-1}(c x) \log \left (1+\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+8 b \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )-8 b \csc ^{-1}(c x) \log \left (1-e^{2 i \csc ^{-1}(c x)}\right )+2 b \pi \log \left (\sqrt {e}-\frac {i \sqrt {d}}{x}\right )+2 b \pi \log \left (\sqrt {e}+\frac {i \sqrt {d}}{x}\right )+4 a \log \left (d+e x^2\right )+4 i b \operatorname {PolyLog}\left (2,\frac {\left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 i b \operatorname {PolyLog}\left (2,\frac {\left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 i b \operatorname {PolyLog}\left (2,-\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 i b \operatorname {PolyLog}\left (2,\frac {\left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-i \csc ^{-1}(c x)}}{c \sqrt {d}}\right )+4 i b \operatorname {PolyLog}\left (2,e^{2 i \csc ^{-1}(c x)}\right )}{8 e} \]

input
Integrate[(x*(a + b*ArcCsc[c*x]))/(d + e*x^2),x]
 
output
(I*b*Pi^2 - (4*I)*b*Pi*ArcCsc[c*x] + (8*I)*b*ArcCsc[c*x]^2 - (16*I)*b*ArcS 
in[Sqrt[1 - (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*ArcTan[(((-I)*c*Sqrt[d] + Sq 
rt[e])*Cot[(Pi + 2*ArcCsc[c*x])/4])/Sqrt[c^2*d + e]] - (16*I)*b*ArcSin[Sqr 
t[1 + (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*ArcTan[((I*c*Sqrt[d] + Sqrt[e])*Co 
t[(Pi + 2*ArcCsc[c*x])/4])/Sqrt[c^2*d + e]] - 2*b*Pi*Log[1 + (Sqrt[e] - Sq 
rt[c^2*d + e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] + 4*b*ArcCsc[c*x]*Log[1 + (S 
qrt[e] - Sqrt[c^2*d + e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] - 8*b*ArcSin[Sqrt 
[1 - (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*Log[1 + (Sqrt[e] - Sqrt[c^2*d + e]) 
/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] - 2*b*Pi*Log[1 + (-Sqrt[e] + Sqrt[c^2*d + 
e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] + 4*b*ArcCsc[c*x]*Log[1 + (-Sqrt[e] + S 
qrt[c^2*d + e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] - 8*b*ArcSin[Sqrt[1 + (I*Sq 
rt[e])/(c*Sqrt[d])]/Sqrt[2]]*Log[1 + (-Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqrt[ 
d]*E^(I*ArcCsc[c*x]))] - 2*b*Pi*Log[1 - (Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqr 
t[d]*E^(I*ArcCsc[c*x]))] + 4*b*ArcCsc[c*x]*Log[1 - (Sqrt[e] + Sqrt[c^2*d + 
 e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))] + 8*b*ArcSin[Sqrt[1 + (I*Sqrt[e])/(c*S 
qrt[d])]/Sqrt[2]]*Log[1 - (Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqrt[d]*E^(I*ArcC 
sc[c*x]))] - 2*b*Pi*Log[1 + (Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqrt[d]*E^(I*Ar 
cCsc[c*x]))] + 4*b*ArcCsc[c*x]*Log[1 + (Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqrt 
[d]*E^(I*ArcCsc[c*x]))] + 8*b*ArcSin[Sqrt[1 - (I*Sqrt[e])/(c*Sqrt[d])]/Sqr 
t[2]]*Log[1 + (Sqrt[e] + Sqrt[c^2*d + e])/(c*Sqrt[d]*E^(I*ArcCsc[c*x]))...
 
3.1.99.3 Rubi [A] (verified)

Time = 1.52 (sec) , antiderivative size = 567, normalized size of antiderivative = 1.12, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {5764, 5232, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx\)

\(\Big \downarrow \) 5764

\(\displaystyle -\int \frac {x \left (a+b \arcsin \left (\frac {1}{c x}\right )\right )}{\frac {d}{x^2}+e}d\frac {1}{x}\)

\(\Big \downarrow \) 5232

\(\displaystyle -\int \left (\frac {x \left (a+b \arcsin \left (\frac {1}{c x}\right )\right )}{e}-\frac {d \left (a+b \arcsin \left (\frac {1}{c x}\right )\right )}{e \left (\frac {d}{x^2}+e\right ) x}\right )d\frac {1}{x}\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {\left (a+b \arcsin \left (\frac {1}{c x}\right )\right ) \log \left (1-\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \arcsin \left (\frac {1}{c x}\right )\right ) \log \left (1+\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \arcsin \left (\frac {1}{c x}\right )\right ) \log \left (1-\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{2 e}+\frac {\left (a+b \arcsin \left (\frac {1}{c x}\right )\right ) \log \left (1+\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{2 e}-\frac {\log \left (1-e^{2 i \arcsin \left (\frac {1}{c x}\right )}\right ) \left (a+b \arcsin \left (\frac {1}{c x}\right )\right )}{e}-\frac {i b \operatorname {PolyLog}\left (2,-\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,-\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{2 e}-\frac {i b \operatorname {PolyLog}\left (2,\frac {i c \sqrt {-d} e^{i \arcsin \left (\frac {1}{c x}\right )}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{2 e}+\frac {i b \operatorname {PolyLog}\left (2,e^{2 i \arcsin \left (\frac {1}{c x}\right )}\right )}{2 e}\)

input
Int[(x*(a + b*ArcCsc[c*x]))/(d + e*x^2),x]
 
output
((a + b*ArcSin[1/(c*x)])*Log[1 - (I*c*Sqrt[-d]*E^(I*ArcSin[1/(c*x)]))/(Sqr 
t[e] - Sqrt[c^2*d + e])])/(2*e) + ((a + b*ArcSin[1/(c*x)])*Log[1 + (I*c*Sq 
rt[-d]*E^(I*ArcSin[1/(c*x)]))/(Sqrt[e] - Sqrt[c^2*d + e])])/(2*e) + ((a + 
b*ArcSin[1/(c*x)])*Log[1 - (I*c*Sqrt[-d]*E^(I*ArcSin[1/(c*x)]))/(Sqrt[e] + 
 Sqrt[c^2*d + e])])/(2*e) + ((a + b*ArcSin[1/(c*x)])*Log[1 + (I*c*Sqrt[-d] 
*E^(I*ArcSin[1/(c*x)]))/(Sqrt[e] + Sqrt[c^2*d + e])])/(2*e) - ((a + b*ArcS 
in[1/(c*x)])*Log[1 - E^((2*I)*ArcSin[1/(c*x)])])/e - ((I/2)*b*PolyLog[2, ( 
(-I)*c*Sqrt[-d]*E^(I*ArcSin[1/(c*x)]))/(Sqrt[e] - Sqrt[c^2*d + e])])/e - ( 
(I/2)*b*PolyLog[2, (I*c*Sqrt[-d]*E^(I*ArcSin[1/(c*x)]))/(Sqrt[e] - Sqrt[c^ 
2*d + e])])/e - ((I/2)*b*PolyLog[2, ((-I)*c*Sqrt[-d]*E^(I*ArcSin[1/(c*x)]) 
)/(Sqrt[e] + Sqrt[c^2*d + e])])/e - ((I/2)*b*PolyLog[2, (I*c*Sqrt[-d]*E^(I 
*ArcSin[1/(c*x)]))/(Sqrt[e] + Sqrt[c^2*d + e])])/e + ((I/2)*b*PolyLog[2, E 
^((2*I)*ArcSin[1/(c*x)])])/e
 

3.1.99.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 5232
Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_.)*((d_) + (e_ 
.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*ArcSin[c*x])^n, ( 
f*x)^m*(d + e*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[c^2*d + 
 e, 0] && IGtQ[n, 0] && IntegerQ[p] && IntegerQ[m]
 

rule 5764
Int[((a_.) + ArcCsc[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_.) + (e_.)*(x_) 
^2)^(p_.), x_Symbol] :> -Subst[Int[(e + d*x^2)^p*((a + b*ArcSin[x/c])^n/x^( 
m + 2*(p + 1))), x], x, 1/x] /; FreeQ[{a, b, c, d, e, n}, x] && IGtQ[n, 0] 
&& IntegerQ[m] && IntegerQ[p]
 
3.1.99.4 Maple [C] (warning: unable to verify)

Result contains higher order function than in optimal. Order 9 vs. order 4.

Time = 4.28 (sec) , antiderivative size = 394, normalized size of antiderivative = 0.78

method result size
parts \(\frac {a \ln \left (e \,x^{2}+d \right )}{2 e}-\frac {i b \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d -c^{2} d -4 e \right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}-\frac {b \,\operatorname {arccsc}\left (c x \right ) \ln \left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}+\frac {i b \operatorname {dilog}\left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {i b \operatorname {dilog}\left (\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {i b \,c^{2} d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}-1\right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}\) \(394\)
derivativedivides \(\frac {\frac {a \,c^{2} \ln \left (c^{2} e \,x^{2}+c^{2} d \right )}{2 e}+b \,c^{2} \left (-\frac {i \operatorname {dilog}\left (\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {\operatorname {arccsc}\left (c x \right ) \ln \left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}+\frac {i \operatorname {dilog}\left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {i \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d -c^{2} d -4 e \right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}-\frac {i c^{2} d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}-1\right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}\right )}{c^{2}}\) \(409\)
default \(\frac {\frac {a \,c^{2} \ln \left (c^{2} e \,x^{2}+c^{2} d \right )}{2 e}+b \,c^{2} \left (-\frac {i \operatorname {dilog}\left (\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {\operatorname {arccsc}\left (c x \right ) \ln \left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}+\frac {i \operatorname {dilog}\left (1+\frac {i}{c x}+\sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{e}-\frac {i \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d -c^{2} d -4 e \right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}-\frac {i c^{2} d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (c^{2} d \,\textit {\_Z}^{4}+\left (-2 c^{2} d -4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}-1\right ) \left (i \operatorname {arccsc}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )+\operatorname {dilog}\left (\frac {\textit {\_R1} -\frac {i}{c x}-\sqrt {1-\frac {1}{c^{2} x^{2}}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d -c^{2} d -2 e}\right )}{4 e}\right )}{c^{2}}\) \(409\)

input
int(x*(a+b*arccsc(c*x))/(e*x^2+d),x,method=_RETURNVERBOSE)
 
output
1/2*a/e*ln(e*x^2+d)-1/4*I*b/e*sum((_R1^2*c^2*d-c^2*d-4*e)/(_R1^2*c^2*d-c^2 
*d-2*e)*(I*arccsc(c*x)*ln((_R1-I/c/x-(1-1/c^2/x^2)^(1/2))/_R1)+dilog((_R1- 
I/c/x-(1-1/c^2/x^2)^(1/2))/_R1)),_R1=RootOf(c^2*d*_Z^4+(-2*c^2*d-4*e)*_Z^2 
+c^2*d))-b/e*arccsc(c*x)*ln(1+I/c/x+(1-1/c^2/x^2)^(1/2))+I*b/e*dilog(1+I/c 
/x+(1-1/c^2/x^2)^(1/2))-I*b/e*dilog(I/c/x+(1-1/c^2/x^2)^(1/2))-1/4*I*b*c^2 
*d/e*sum((_R1^2-1)/(_R1^2*c^2*d-c^2*d-2*e)*(I*arccsc(c*x)*ln((_R1-I/c/x-(1 
-1/c^2/x^2)^(1/2))/_R1)+dilog((_R1-I/c/x-(1-1/c^2/x^2)^(1/2))/_R1)),_R1=Ro 
otOf(c^2*d*_Z^4+(-2*c^2*d-4*e)*_Z^2+c^2*d))
 
3.1.99.5 Fricas [F]

\[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\int { \frac {{\left (b \operatorname {arccsc}\left (c x\right ) + a\right )} x}{e x^{2} + d} \,d x } \]

input
integrate(x*(a+b*arccsc(c*x))/(e*x^2+d),x, algorithm="fricas")
 
output
integral((b*x*arccsc(c*x) + a*x)/(e*x^2 + d), x)
 
3.1.99.6 Sympy [F]

\[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\int \frac {x \left (a + b \operatorname {acsc}{\left (c x \right )}\right )}{d + e x^{2}}\, dx \]

input
integrate(x*(a+b*acsc(c*x))/(e*x**2+d),x)
 
output
Integral(x*(a + b*acsc(c*x))/(d + e*x**2), x)
 
3.1.99.7 Maxima [F]

\[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\int { \frac {{\left (b \operatorname {arccsc}\left (c x\right ) + a\right )} x}{e x^{2} + d} \,d x } \]

input
integrate(x*(a+b*arccsc(c*x))/(e*x^2+d),x, algorithm="maxima")
 
output
b*integrate(x*arctan2(1, sqrt(c*x + 1)*sqrt(c*x - 1))/(e*x^2 + d), x) + 1/ 
2*a*log(e*x^2 + d)/e
 
3.1.99.8 Giac [F(-2)]

Exception generated. \[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\text {Exception raised: RuntimeError} \]

input
integrate(x*(a+b*arccsc(c*x))/(e*x^2+d),x, algorithm="giac")
 
output
Exception raised: RuntimeError >> an error occurred running a Giac command 
:INPUT:sage2OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const ve 
cteur & l) Error: Bad Argument Value
 
3.1.99.9 Mupad [F(-1)]

Timed out. \[ \int \frac {x \left (a+b \csc ^{-1}(c x)\right )}{d+e x^2} \, dx=\int \frac {x\,\left (a+b\,\mathrm {asin}\left (\frac {1}{c\,x}\right )\right )}{e\,x^2+d} \,d x \]

input
int((x*(a + b*asin(1/(c*x))))/(d + e*x^2),x)
 
output
int((x*(a + b*asin(1/(c*x))))/(d + e*x^2), x)